<template>
  <el-table :data="list" v-loading="listLoading" element-loading-text="给我一点时间" border fit highlight-current-row
      style="width: 100%" max-height="580">
    <el-table-column min-width="180px" align="center" label="编号">
      <template slot-scope="scope">
        <span>{{scope.row.id}}</span>
      </template>
    </el-table-column>
    <el-table-column min-width="260px" align="center" label="企业名称">
      <template slot-scope="scope">
        <span>{{scope.row.company_name}}</span>
      </template>
    </el-table-column>
    <el-table-column min-width="200px" align="center" label="企业规模">
      <template slot-scope="scope">
        <span>{{scope.row.company_scale}}</span>
      </template>
    </el-table-column>
    <el-table-column min-width="160px" align="center" label="职位">
      <template slot-scope="scope">
        <span>{{scope.row.position}}</span>
      </template>
    </el-table-column>
    <el-table-column min-width="180px" align="center" label="联系电话">
      <template slot-scope="scope">
        <span>{{scope.row.phone}}</span>
      </template>
    </el-table-column>
    <el-table-column min-width="160px" align="center" label="一键回电">
      <template slot-scope="scope">
        <span>{{scope.row.messageback_flag}}</span>
      </template>
    </el-table-column>
    <el-table-column min-width="140px" align="center" label="访问次数">
      <template slot-scope="scope">
        <span>{{scope.row.access_count}}</span>
      </template>
    </el-table-column>
    <el-table-column align="center" label="最后访问日期时间" min-width="200px" class-name="small-padding">
      <template slot-scope="scope">
        <span>{{scope.row.update_time | parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span>
      </template>
    </el-table-column>
    <el-table-column align="center" label="注册时间" min-width="200px" class-name="small-padding">
      <template slot-scope="scope">
        <span>{{scope.row.create_time | parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span>
      </template>
    </el-table-column>
  </el-table>
</template>

<script>

export default {
  props: {
    list: Array,
    listLoading: Boolean,
    type: String
  },
  data() {
    return {
    }
  },
  created() {
    // this.getList()
  },
  methods: {
  }
}
</script>
